package com.deyuanyun.pic.ctrl.service.impl;

import com.deyuanyun.pic.ctrl.controller.dto.exinsp.ExinspSoilCorrQuery;
import com.deyuanyun.pic.ctrl.domain.ExinspAcMiorRecord;
import com.deyuanyun.pic.ctrl.domain.ExinspDcMiorRecord;
import com.deyuanyun.pic.ctrl.domain.ExinspSoilCorr;
import com.deyuanyun.pic.ctrl.mapper.ExinspAcMiorRecordMapper;
import com.deyuanyun.pic.ctrl.mapper.ExinspDcMiorRecordMapper;
import com.deyuanyun.pic.ctrl.mapper.dao.StrayCurrentDao;
import com.deyuanyun.pic.ctrl.service.StrayCurrentService;
import com.deyuanyun.pic.ctrl.controller.dto.exinsp.ExinspADcMiorRecordQuery;
import com.github.pagehelper.Page;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * “杂散电流” 服务接口 实现类
 *
 * @author huanglw
 * @date  2016-9-7
 *
 * History: [修改人][时间][修改描述]
 */
@Service
public class StrayCurrentServiceImpl implements StrayCurrentService {

    @Resource
    private StrayCurrentDao strayCurrentDao;

    @Override
    public Page<ExinspDcMiorRecord> queryExinspDcMiorRecord(ExinspADcMiorRecordQuery exinspADcMiorRecordQuery) {
        return strayCurrentDao.queryExinspDcMiorRecord(exinspADcMiorRecordQuery);
    }

    @Override
    public Page<ExinspAcMiorRecord> queryExinspAcMiorRecord(ExinspADcMiorRecordQuery exinspADcMiorRecordQuery) {
        return strayCurrentDao.queryExinspAcMiorRecord(exinspADcMiorRecordQuery);
    }

    @Override
    public ExinspDcMiorRecord findExinspDcMiorRecord(String id) {
        return strayCurrentDao.findExinspDcMiorRecord(id);
    }

    @Override
    public ExinspAcMiorRecord findExinspAcMiorRecord(String id) {
        return strayCurrentDao.findExinspAcMiorRecord(id);
    }

    @Override
    public Page<ExinspSoilCorr> queryExinspSoilCorr(ExinspSoilCorrQuery exinspSoilCorrQuery) {
        return strayCurrentDao.queryExinspSoilCorr(exinspSoilCorrQuery);
    }
}
